<?php
/**
 * @author:Jiang
 * @return:Database connection configuration
 */
/*-------------Page code-----------------------*/
header('Content-Type:text/html;charset=utf-8');

/*-------------Database link-------------------*/
     $db_config["hostname"] = "localhost"; 		//Server address
     $db_config["username"] = "root"; 			//User name
     $db_config["password"] = "900124"; 		//Password
     
     //database name
     $db_config["database_map"] = "db_xinxun"; 	//Database name
     $db_config["database_shop"] = "buy"; 		//Database name
     $db_config["database_dz"] = "huangchaomin";//Database name

/*---------------Log function------------------*/
     $db_config["log"] = 0;						//1 open log 2 Close log
     $db_config["logfilepath"] = './';			//For the log path, it stored in the root directory

/*----------Please do not modify the-----------*/
     $db_config["charset"] = "utf-8";			//The database code
     $db_config["pconnect"] = 1;				//Open a persistent connection
     
     //系统默认值配置
     //配置信息
     //数据表前缀 不要擅自修改 这里是db_xinxun使用
     $tbprefix 		= "xx_";
     //安全 密码加密常量 加密密钥  不要擅自修改
     $pwdconstant    = "hedgehog";
     //重置密码
     $pwdresetting 	= "123456";
     
     //版权信息
     //版本
     $cfg['edition'] = "V1.2";
     //系统名称
     $cfg['sysNames']= "星讯售后管理系统";
     //网站后台名称
     $cfg['sysName'] = "星讯手机 &copy;上海星讯科技有限公司&reg;";
     //上传文件目录
     $cfg['uploadfile']="uploadfile";
     //技术支持
     $cfg['sysSupport']="david & hedgehog";
     //Error Page
     $cfg['errorpage']="404.html";
     //网站前台名称
     $cfg['webName']="星讯网手机数码商城";
     //关键字
     $cfg['keywords']="星讯手机,星讯网,手机配件批发,手机维修,手机批发,不夜城手机报价,手机通讯市场,星讯网手机数码商城,中国最专业的手机网站";
     //关键内容
     $cfg['description']="星讯手机,星讯网,手机配件批发,手机维修,手机批发,不夜城手机报价,手机通讯行业网站,星讯网手机数码商城,中国最专业的手机网站";
     //页脚
     $cfg['footer']="&copy;&nbsp;www.193xx.com&nbsp;沪ICP备13000260号-1";
     //系统授权使用单位
     $cfg['sysUser'] = "星讯网手机数码";
     //首页网址 域名
     $cfg['webURL']="http://www.193xx.com/";
     //伪静态开关 0或1
     $cfg['OFF_On']=0;
     /*---------------关注qq微博uid 新浪uid配置---------------*/
     //QQ关注帐号
     $cfg['qq_uname']="xingxunsj";
     //新浪关注uid
     $cfg['sina_uid']="1110757613";
     
     /*-------------邮箱配置 改成你自己的-------------------*/
     //smtp smtp.qq.com
     $email_config["Host"] = "smtp.u-kard.com";
     //User name
     $email_config["Username"] = "u-kard@u-kard.com";
     //Password
     $email_config["Password"] = "ukard2013";
      
     $email_config["From"] = "u-kard@u-kard.com";
      
     $email_config["WordWrap"] = 80;
     //The code
     $email_config["charset"] = "UTF-8";
     
     //maps 首页
     define("WEBDIR", $cfg['webURL']);
     //discuz论坛域名
     define("DISCUZ_DOMAIN", 'http://news.193xx.com/');
     //shopnc域名
     define("SHOPNC_DOMAIN", 'http://buy.193xx.com/');
     
     /*--------------sina api密钥 不要擅自修改---------------------*/
     define( "WB_AKEY" , '3911462318' );
     define( "WB_SKEY" , '62e51081670c6ecf969daabb7cf5e380' );
     define( "WB_CALLBACK_URL" , WEBDIR.'tools/oauth2/callback.php');
      
     /*--------------qq api密钥 不要擅自修改--------------------------*/
     //位于class.qq.api/comm/inc.php里
     
     
?>